/**

* <p>Title: OrdersService.java</p>

* <p>Description: </p>

* <p>Copyright: Copyright (c) 2021</p>

* <p>Company: www.chinasofti.com</p>

* @author knowno

* @date 2021年1月16日

* @version 1.0

*/
package com.etc.zmall.service;

import java.util.List;

import com.etc.entity.Items;
import com.etc.entity.Order;
import com.github.pagehelper.PageInfo;

/**
 * 
 * <p>
 * Title: OrdersService
 * </p>
 * 
 * <p>
 * Description:
 * </p>
 * 
 * @author knowno
 * 
 * @date 2021年3月11日
 * 
 */
public interface OrdersService {

	/**
	 * 
	
	* <p>Title: addOrder</p>
	
	* <p>Description: 增加订单</p>
	
	* @param orders
	* @return
	 */
	public boolean addOrder(Order orders);
	
	/**
	 * 
	
	* <p>Title: addOrderItems</p>
	
	* <p>Description: 增加订单项</p>
	
	* @param items
	* @return
	 */
	public boolean addOrderItems(List<Items> items);
	
	/**
	 * 
	
	* <p>Title: deleteShopcItem</p>
	
	* <p>Description: 删除购物车对应记录</p>
	
	* @param list
	* @return
	 */
	public boolean deleteShopcItem(List<Integer> list);

	public boolean upOrdersState(int orderstate, String orderid);

	public PageInfo<Order> getByPage(String keywords, String begindate, String enddate, int page, int limit);
	
	

}
